#pragma once
namespace micro
{
namespace gui
{

class QSysTray
{
    ///systray
    bool			m_bTray;
    NOTIFYICONDATA	m_nidTray;


public:
    QSysTray( void );
    ~QSysTray( void );


    void Init( HWND hwnd, UINT msg, UINT id, LPCTSTR str, UINT idIcon, UINT flags = NIF_ICON | NIF_TIP | NIF_MESSAGE | NIF_REALTIME );
    bool IsOnTry();

    void DeleteFromTray( void );
    void EnterToTry( void );
    void ExitFromTry( void );





};

}
}//